package index;

public class iStudnet {
    public static void main(String[] args) {
     //JDK jvm jvm 自带了一个空参构造函数
        //创造了一个学生对象
        Student stu1=new Student();
        stu1.setAge(10);
        System.out.println(stu1.getAge());
        //gender
        stu1.setGender("男");
        System.out.println(stu1.getGender());
        //id
        stu1.setId(1);
        System.out.println(stu1.getId());
    }
}
